import Layout from '@/layout'

export default {
  path: '/logs',
  component: Layout,
  redirect: '/logs/long',
  name: 'Logs',
  meta: { title: '日志管理', icon: 'lock', noCache: true, roles: ['logs'] },
  children: [
    {
      path: 'long',
      name: 'LogsLong',
      component: () => import('@/views/logs/long'),
      meta: { title: '慢日志', icon: 'star', noCache: true }
    },
    {
      path: 'error',
      name: 'LogsError',
      component: () => import('@/views/logs/errors'),
      meta: { title: '错误日志', icon: 'star', noCache: true }
    }
  ]
}
